package com.ruoyi.fantasy.mapper;

import java.util.List;

import com.huanzhidadi.fantasy.bean.domain.FantasyBankAccountFlow;

/**
 * 账户流水Mapper接口
 * 
 * @author wanghui
 * @date 2020-06-18
 */
public interface FantasyBankAccountFlowMapper 
{
    /**
     * 查询账户流水
     * 
     * @param id 账户流水ID
     * @return 账户流水
     */
    public FantasyBankAccountFlow selectFantasyBankAccountFlowById(String id);

    /**
     * 查询账户流水列表
     * 
     * @param fantasyBankAccountFlow 账户流水
     * @return 账户流水集合
     */
    public List<FantasyBankAccountFlow> selectFantasyBankAccountFlowList(FantasyBankAccountFlow fantasyBankAccountFlow);

    /**
     * 新增账户流水
     * 
     * @param fantasyBankAccountFlow 账户流水
     * @return 结果
     */
    public int insertFantasyBankAccountFlow(FantasyBankAccountFlow fantasyBankAccountFlow);

    /**
     * 修改账户流水
     * 
     * @param fantasyBankAccountFlow 账户流水
     * @return 结果
     */
    public int updateFantasyBankAccountFlow(FantasyBankAccountFlow fantasyBankAccountFlow);

    /**
     * 删除账户流水
     * 
     * @param id 账户流水ID
     * @return 结果
     */
    public int deleteFantasyBankAccountFlowById(String id);

    /**
     * 批量删除账户流水
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteFantasyBankAccountFlowByIds(String[] ids);
}
